package com.sxt.disruptor.chap01;

import com.lmax.disruptor.EventFactory;
/**
 * 	建立一个工厂Event类
 * @author Administrator
 *
 */
public class OrderEventFactory implements EventFactory<OrderEvent> {

    @Override
    public OrderEvent newInstance() {
        return new OrderEvent();    //这个方法就是为了返回空的数据对象Event
    }
}